
<% if current_user %>

  <div id="jq-dropdown-1" class="jq-dropdown jq-dropdown-tip">
    <ul class="jq-dropdown-menu">
        <% if current_user.is_designer? %>
          <li><a href="<%= dashboard_designers_path %>">账户资料</a></li>
          <li><a href="<%= dashboard_design_cases_path %>">设计案例</a></li>
        <% end %>
        <li><a href="<%= dashboard_orders_path %>">我的订单</a></li>
        <li><a href="<%= dashboard_addresses_path %>">我的地址</a></li>
        <li class="jq-dropdown-divider"></li>
        <li><a href="/logout">退出</a></li>
    </ul>
  </div>

  <div id="jq-dropdown-2" class="jq-dropdown jq-dropdown-tip">
    <shopping-tips></shopping-tips>
  </div>

<% end %>

<% unless request.path =~ /\A\/(reserves|sign_up|sign_in)/ %>
  <fixed-menu></fixed-menu>
<% end %>
